﻿/*
// Copyright (c) Islington Council 2010-2013
// Author: Oli Sharpe  (oli@gometa.co.uk)
//
// This file is part of the Work Box Framework.
//
// The Work Box Framework is free software: you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as  
// published by the Free Software Foundation, either version 2.1 of the 
// License, or (at your option) any later version.
//
// The Work Box Framework (WBF) is distributed in the hope that it will be 
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the WBF.  If not, see <http://www.gnu.org/licenses/>.
*/


/********************************************* 
    Subject Tag Presentation web part
*********************************************/
.wbf-a-to-z-letters a:link,
.wbf-a-to-z-letters a:visited {
    display: inline-block;
    text-align:center;  
    width:12px; 
    padding: 3px !important;
    margin-right: 5px;
    border: 1px solid #053C60;
    color: #053C60 !important;
}
span.wbf-view-subject-pages-controls {
    float: right;
    display: inline-block; 
    margin-top:-4px;  
}
    span.wbf-view-subject-pages-controls input[type='submit'],
    span.wbf-view-subject-pages-controls button{
        padding: 1px;
        font-size: 14px;
        width: 45px;
        margin-left: 5px;
        font-weight: normal;
    }
.wbf-subjects-page-content, .wbf-subjects-internal-contact, .wbf-subjects-external-contact {
    margin-bottom: 15px;   
}

/* Contacts layout */
.wbf-subjects-contacts {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing: border-box;
}
.wbf-subjects-internal-contact, .wbf-subjects-external-contact {
    box-sizing: border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing: border-box;
}
.wbf-subjects-internal-contact {
}
.wbf-subjects-external-contact {
    
}
.wbf-subject-tag-ext-contact-email {
    margin-top: 15px;   
}

/* Table display for contacts */
.wbf-tbl {
    display: table;
    width:100%;   
}
    .wbf-tbl .trow {
        display:table-row;
    }
    .wbf-tbl .thead, .wbf-tbl .tcell {
        display:table-cell;
        padding: 3px;
        margin: 2px;
        border-bottom: 2px #fff solid;
    }
    .wbf-tbl .thead {
        min-width: 125px;
        background-color: #F0F0F0;
        font-weight: bold;
    }
    .wbf-tbl .tcell {
    }

.wbf-show-documents-for-subject th{
    text-align: left;
}

h3.wbf-subject-tag-section-head {
    border-bottom: 1px solid #dcdcdc;   
}

/********************************************* 
    Add / Edit form 
*********************************************/

.wbf-add-tag-wrapper {
    padding: 5px;   
}
    .wbf-add-tag-wrapper .ms-formlabel {
        white-space: nowrap;    
    }
    .wbf-add-tag-wrapper h4.wbf-form-lbl {
        margin:0; margin-bottom: 7px;   
    }
table.wbf-subject-tag-form {
    width: 100%;
    margin-top:8px;
}

/* External contact */
div.wbf-subject-tag-ext-contact-wrapper {
    
}
table.wbf-subject-tag-ext-contact {
    font-size: 1em;
    border: 1px solid #dcdcdc;
}
    table.wbf-subject-tag-ext-contact th{
        font-weight: normal;
        min-width: 150px;
        white-space:nowrap;
        background-color: #dcdcdc;
        padding: 3px;
    }
    table.wbf-subject-tag-ext-contact td{
        width: 250px;
        padding: 3px;
    }